package org.csu.petstore_manage.persistence;

import org.csu.petstore_manage.domain.Order;
//import org.omg.CORBA.portable.ValueOutputStream;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    List<Order> getOrders();

    Order getOrder(int orderId);

    void deleteOrder(int orderId);

    void deleteOrderStatus(int orderId);

    void updateOrder(Order order);

    void updateOrderStatus(Order order);
}
